package com.ny.mapper;

import com.ny.entity.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    @Select("select * from user where username = #{username} and password =#{password}")

    Users findUserByUsernameAndPassword(@Param("username") String username, @Param("username")String password2);

}
